<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>
<body style="font-family:Arial, Helvetica, sans-serif; font-size:16px;">
<h1> Weekly Order Process</h1>
<h3>&nbsp;</h3>
<?php $check = $this->orderCheck;?>

<form action="" method="post" >
<input type = "submit" name = "submit" value = "One Click Generate"></input>
</form>

<table width="800" border="1" cellspacing="1" cellpadding="10">
  <tr>
    <th colspan="6" scope="col"><p>After Generate Order , Please close this page</p></th>
  </tr>
  <tr>
    <td colspan="3" align="center"><strong>First Day Delivery</strong></td>
    <td colspan="3" align="center"><strong>Second Day Delivery</strong></td>
  </tr>
  <tr>
    <td colspan="3"><strong>SA Shops</strong></td>
    <td colspan="3"><strong>VIC Shops</strong></td>
  </tr>
  <tr>
    <td>ADPC<div <?php if($check['ADPC'] == 'yes' && $this->sp != 'sp'){ ?> style = "display:none;" <?php }?>><a href="http://<?php echo SERVER_IP_COMM;?>/products/generate-weeks-order/shop/ADPC/gen/yes/" target="_blank" style= "margin-left:50px;">Generate Order</a></div></td>
    <td><?php if($check['ADPC'] == 'yes'){echo "<img src='/im/yes20.jpg' />";}else{ echo "<img src='/im/no20.jpg' />" ;}?></td>
    <td>&nbsp;</td>
    <td>BHPC<div <?php if($check['BHPC'] == 'yes' && $this->sp != 'sp'){ ?> style = "display:none;" <?php }?>><a href="http://<?php echo SERVER_IP_COMM;?>/products/generate-weeks-order/shop/BHPC/gen/yes" target="_blank" style= "margin-left:50px;">Generate Order</a></div></td>
    <td><?php if($check['BHPC'] == 'yes'){echo "<img src='/im/yes20.jpg' />";}else{ echo "<img src='/im/no20.jpg' />" ;}?></td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>CLPC<div <?php if($check['CLPC'] == 'yes' && $this->sp != 'sp'){ ?> style = "display:none;" <?php }?>><a href="http://<?php echo SERVER_IP_COMM;?>/products/generate-weeks-order/shop/CLPC/gen/yes" target="_blank" style= "margin-left:50px;">Generate Order</a></div></td>
    <td><?php if($check['CLPC'] == 'yes'){echo "<img src='/im/yes20.jpg' />";}else{ echo "<img src='/im/no20.jpg' />" ;}?></td>
    <td>&nbsp;</td>
    <td>BSIC<div <?php if($check['BSIC'] == 'yes' && $this->sp != 'sp'){ ?> style = "display:none;" <?php }?>><a href="http://<?php echo SERVER_IP_COMM;?>/products/generate-weeks-order/shop/BSIC/gen/yes"  target="_blank" style= "margin-left:50px;">Generate Order</a></div></td>
    <td><?php if($check['BSIC'] == 'yes'){echo "<img src='/im/yes20.jpg' />";}else{ echo "<img src='/im/no20.jpg' />" ;}?></td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>CLIC<div <?php if($check['CLIC'] == 'yes' && $this->sp != 'sp'){ ?> style = "display:none;" <?php }?>><a href="http://<?php echo SERVER_IP_COMM;?>/products/generate-weeks-order/shop/CLIC/gen/yes" target="_blank" style= "margin-left:50px;">Generate Order</a></div></td>
    <td><?php if($check['CLIC'] == 'yes'){echo "<img src='/im/yes20.jpg' />";}else{ echo "<img src='/im/no20.jpg' />" ;}?></td>
    <td>&nbsp;</td>
    <td>BSPC<div <?php if($check['BSPC'] == 'yes' && $this->sp != 'sp'){ ?> style = "display:none;" <?php }?>><a href="http://<?php echo SERVER_IP_COMM;?>/products/generate-weeks-order/shop/BSPC/gen/yes"  target="_blank" style= "margin-left:50px;">Generate Order</a></div></td>
    <td><?php if($check['BSPC'] == 'yes'){echo "<img src='/im/yes20.jpg' />";}else{ echo "<img src='/im/no20.jpg' />" ;}?></td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>WLIC<div <?php if($check['WLIC'] == 'yes' && $this->sp != 'sp'){ ?> style = "display:none;" <?php }?>><a href="http://<?php echo SERVER_IP_COMM;?>/products/generate-weeks-order/shop/WLIC/gen/yes" target="_blank" style= "margin-left:50px;">Generate Order</a></div></td>
    <td><?php if($check['WLIC'] == 'yes'){echo "<img src='/im/yes20.jpg' />";}else{ echo "<img src='/im/no20.jpg' />" ;}?></td>
    <td>&nbsp;</td>
    <td>BSXP<div <?php if($check['BSXP'] == 'yes' && $this->sp != 'sp'){ ?> style = "display:none;" <?php }?>><a href="http://<?php echo SERVER_IP_COMM;?>/products/generate-weeks-order/shop/BSXP/gen/yes" target="_blank" style= "margin-left:50px;">Generate Order</a></div></td>
    <td><?php if($check['BSXP'] == 'yes'){echo "<img src='/im/yes20.jpg' />";}else{ echo "<img src='/im/no20.jpg' />" ;}?></td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td colspan="3"><strong>VIC Shops</strong></td>
    <td>FGIC<div <?php if($check['FGIC'] == 'yes' && $this->sp != 'sp'){ ?> style = "display:none;" <?php }?>><a href="http://<?php echo SERVER_IP_COMM;?>/products/generate-weeks-order/shop/FGIC/gen/yes"  target="_blank" style= "margin-left:50px;">Generate Order</a></div></td>
    <td><?php if($check['FGIC'] == 'yes'){echo "<img src='/im/yes20.jpg' />";}else{ echo "<img src='/im/no20.jpg' />" ;}?></td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>BBPC<div <?php if($check['BBPC'] == 'yes' && $this->sp != 'sp'){ ?> style = "display:none;" <?php }?>><a href="http://<?php echo SERVER_IP_COMM;?>/products/generate-weeks-order/shop/BBPC/gen/yes" target="_blank" style= "margin-left:50px;">Generate Order</a></div></td>
    <td><?php if($check['BBPC'] == 'yes'){echo "<img src='/im/yes20.jpg' />";}else{ echo "<img src='/im/no20.jpg' />" ;}?></td>
    <td>&nbsp;</td>
    <td>KCPC<div <?php if($check['KCPC'] == 'yes' && $this->sp != 'sp'){ ?> style = "display:none;" <?php }?>><a href="http://<?php echo SERVER_IP_COMM;?>/products/generate-weeks-order/shop/KCPC/gen/yes" target="_blank" style= "margin-left:50px;">Generate Order</a></div></td>
    <td><?php if($check['KCPC'] == 'yes'){echo "<img src='/im/yes20.jpg' />";}else{ echo "<img src='/im/no20.jpg' />" ;}?></td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>HPIC<div <?php if($check['HPIC'] == 'yes' && $this->sp != 'sp'){ ?> style = "display:none;" <?php }?>><a href="http://<?php echo SERVER_IP_COMM;?>/products/generate-weeks-order/shop/HPIC/gen/yes" target="_blank" style= "margin-left:50px;">Generate Order</a></div></td>
    <td><?php if($check['HPIC'] == 'yes'){echo "<img src='/im/yes20.jpg' />";}else{ echo "<img src='/im/no20.jpg' />" ;}?></td>
    <td>&nbsp;</td>
    <td>PMIC<div <?php if($check['PMIC'] == 'yes' && $this->sp != 'sp'){ ?> style = "display:none;" <?php }?>><a href="http://<?php echo SERVER_IP_COMM;?>/products/generate-weeks-order/shop/PMIC/gen/yes" target="_blank" style= "margin-left:50px;">Generate Order</a></div></td>
    <td><?php if($check['PMIC'] == 'yes'){echo "<img src='/im/yes20.jpg' />";}else{ echo "<img src='/im/no20.jpg' />" ;}?></td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>NLPC<div <?php if($check['NLPC'] == 'yes' && $this->sp != 'sp'){ ?> style = "display:none;" <?php }?>><a href="http://<?php echo SERVER_IP_COMM;?>/products/generate-weeks-order/shop/NLPC/gen/yes" target="_blank" style= "margin-left:50px;">Generate Order</a></div></td>
    <td><?php if($check['NLPC'] == 'yes'){echo "<img src='/im/yes20.jpg' />";}else{ echo "<img src='/im/no20.jpg' />" ;}?></td>
    <td>&nbsp;</td>
    <td>PMPC<div <?php if($check['PMPC'] == 'yes' && $this->sp != 'sp'){ ?> style = "display:none;" <?php }?>><a href="http://<?php echo SERVER_IP_COMM;?>/products/generate-weeks-order/shop/PMPC/gen/yes" target="_blank" style= "margin-left:50px;">Generate Order</a></div></td>
    <td><?php if($check['PMPC'] == 'yes'){echo "<img src='/im/yes20.jpg' />";}else{ echo "<img src='/im/no20.jpg' />" ;}?></td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>WBIC<div <?php if($check['WBIC'] == 'yes' && $this->sp != 'sp'){ ?> style = "display:none;" <?php }?>><a href="http://<?php echo SERVER_IP_COMM;?>/products/generate-weeks-order/shop/WBIC/gen/yes" target="_blank" style= "margin-left:50px;">Generate Order</a></div></td>
    <td><?php if($check['WBIC'] == 'yes'){echo "<img src='/im/yes20.jpg' />";}else{ echo "<img src='/im/no20.jpg' />" ;}?></td>
    <td>&nbsp;</td>
    <td>EPIC<div <?php if($check['EPIC'] == 'yes' && $this->sp != 'sp'){ ?> style = "display:none;" <?php }?>><a href="http://<?php echo SERVER_IP_COMM;?>/products/generate-weeks-order/shop/EPIC/gen/yes" target="_blank" style= "margin-left:50px;">Generate Order</a></div></td>
    <td><?php if($check['EPIC'] == 'yes'){echo "<img src='/im/yes20.jpg' />";}else{ echo "<img src='/im/no20.jpg' />" ;}?></td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>WBPC<div <?php if($check['WBPC'] == 'yes' && $this->sp != 'sp'){ ?> style = "display:none;" <?php }?>><a href="http://<?php echo SERVER_IP_COMM;?>/products/generate-weeks-order/shop/WBPC/gen/yes" target="_blank" style= "margin-left:50px;">Generate Order</a></div></td>
    <td><?php if($check['WBPC'] == 'yes'){echo "<img src='/im/yes20.jpg' />";}else{ echo "<img src='/im/no20.jpg' />" ;}?></td>
    <td>&nbsp;</td>
    <td>SLIC<div <?php if($check['SLIC'] == 'yes' && $this->sp != 'sp'){ ?> style = "display:none;" <?php }?>><a href="http://<?php echo SERVER_IP_COMM;?>/products/generate-weeks-order/shop/SLIC/gen/yes" target="_blank" style= "margin-left:50px;">Generate Order</a></div></td>
    <td><?php if($check['SLIC'] == 'yes'){echo "<img src='/im/yes20.jpg' />";}else{ echo "<img src='/im/no20.jpg' />" ;}?></td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>WGIC<div <?php if($check['WGIC'] == 'yes' && $this->sp != 'sp'){ ?> style = "display:none;" <?php }?>><a href="http://<?php echo SERVER_IP_COMM;?>/products/generate-weeks-order/shop/WGIC/gen/yes" target="_blank" style= "margin-left:50px;">Generate Order</a></div></td>
    <td><?php if($check['WGIC'] == 'yes'){echo "<img src='/im/yes20.jpg' />";}else{ echo "<img src='/im/no20.jpg' />" ;}?></td>
    <td>&nbsp;</td>
    <td>CBPC<div <?php if($check['CBPC'] == 'yes' && $this->sp != 'sp'){ ?> style = "display:none;" <?php }?>><a href="http://<?php echo SERVER_IP_COMM;?>/products/generate-weeks-order/shop/CBPC/gen/yes" target="_blank" style= "margin-left:50px;">Generate Order</a></div></td>
    <td><?php if($check['CBPC'] == 'yes'){echo "<img src='/im/yes20.jpg' />";}else{ echo "<img src='/im/no20.jpg' />" ;}?></td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>WGPC<div <?php if($check['WGPC'] == 'yes' && $this->sp != 'sp'){ ?> style = "display:none;" <?php }?>><a href="http://<?php echo SERVER_IP_COMM;?>/products/generate-weeks-order/shop/WGPC/gen/yes" target="_blank" style= "margin-left:50px;">Generate Order</a></div></td>
    <td><?php if($check['WGPC'] == 'yes'){echo "<img src='/im/yes20.jpg' />";}else{ echo "<img src='/im/no20.jpg' />" ;}?></td>
    <td>&nbsp;</td>
    <td>CBIC<div <?php if($check['CBIC'] == 'yes' && $this->sp != 'sp'){ ?> style = "display:none;" <?php }?>><a href="http://<?php echo SERVER_IP_COMM;?>/products/generate-weeks-order/shop/CBIC/gen/yes" target="_blank" style= "margin-left:50px;">Generate Order</a></div></td>
    <td><?php if($check['CBIC'] == 'yes'){echo "<img src='/im/yes20.jpg' />";}else{ echo "<img src='/im/no20.jpg' />" ;}?></td>
    <td>&nbsp;</td>
  </tr>
</table>

</body>
</html>